package com.qfjy.homework.yuhaixiang;

/**
 * @author:yuhaixiang
 * @date:2022/11/1020:46
 * @version:1.0
 */
public class Context {
    private  Strategy strategy;

    public Context(Strategy strategy) {
        this.strategy = strategy;
    }


    public String executeStrategy(){
        return strategy.doWatching();
    }

}
